<!--<?php use_stylesheet('main.css') ?>
<table>
  <tbody>
    <tr>
      <th>Id:</th>
      <td><?php echo $blog_article->getId() ?></td>
    </tr>
    <tr>
      <th>Category:</th>
      <td><?php echo $blog_article->getCategoryId() ?></td>
    </tr>
    <tr>
      <th>Autor:</th>
      <td><?php echo $blog_article->getAutor() ?></td>
    </tr>
    <tr>
      <th>Url:</th>
      <td><?php echo $blog_article->getUrl() ?></td>
    </tr>
    <tr>
      <th>Title:</th>
      <td><?php echo $blog_article->getTitle() ?></td>
    </tr>
    <tr>
      <th>Description:</th>
      <td><?php echo $blog_article->getDescription() ?></td>
    </tr>
    <tr>
      <th>How to apply:</th>
      <td><?php echo $blog_article->getHowToApply() ?></td>
    </tr>
    <tr>
      <th>Token:</th>
      <td><?php echo $blog_article->getToken() ?></td>
    </tr>
    <tr>
      <th>Is public:</th>
      <td><?php echo $blog_article->getIsPublic() ?></td>
    </tr>
    <tr>
      <th>Is activated:</th>
      <td><?php echo $blog_article->getIsActivated() ?></td>
    </tr>
    <tr>
      <th>Expires at:</th>
      <td><?php echo $blog_article->getExpiresAt() ?></td>
    </tr>
    <tr>
      <th>Created at:</th>
      <td><?php echo $blog_article->getCreatedAt() ?></td>
    </tr>
    <tr>
      <th>Updated at:</th>
      <td><?php echo $blog_article->getUpdatedAt() ?></td>
    </tr>
  </tbody>
</table>

<hr />

<a href="<?php echo url_for('blog/edit?id='.$blog_article->getId()) ?>">Edit</a>
&nbsp;
<a href="<?php echo url_for('blog/index') ?>">List</a> -->







<?php use_stylesheet('main.css') ?>
<?php use_helper('Text') ?>
 <?php slot(
  'title',
  sprintf('%s', $blog_article->getTitle()))
?>

			<div class="post">
				<h2 class="title"><a href="#"><?php echo $blog_article->getTitle() ?></a></h2>
				<p class="byline"><small>Posted on  <?php echo  $blog_article->getDateTimeObject('created_at')->format('m/d/Y') ?> by <a href="#"><?php echo $blog_article->getAutor() ?></a></small></p>
				<div class="entry">
					<?php echo simple_format_text( $blog_article->getDescription()) ?>
				</div>
			</div>
            <div style="padding: 20px 0"> 
    <a href="<?php echo url_for('blog/edit?id='. $blog_article->getId()) ?>">
      Edit
    </a>
    &nbsp;<a href="<?php echo url_for('@homepage') ?>">Return to List</a>
  </div>
</div>
